home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
COMPRESS
/
ARC_CHK.ARJ
/
PKCHK.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-01-06
|
525b
|
25 lines
@echo off
: ZIP2EXE leaves a PKWARE copyright notice in its self-extracting files.
: Offset 50 contains the text string "PKWARE" for these files.
ARC_CHK %1 50 PKWARE
if errorlevel 0 if not errorlevel 1 goto GOOD
if errorlevel 1 if not errorlevel 2 goto BAD
if errorlevel 255 if not errorlevel 256 goto EXE_ERROR
:BAD
ECHO %1 IS A PKWARE SELF EXTRACTING FILE!!!
goto end
:GOOD
ECHO %1 is not a PKWARE self extracting file
goto end
:EXE_ERROR
echo Program execution error encountered!
:END